package com.service.infoEntry.controller;

import com.service.infoEntry.entity.VLogOperate;
import com.service.infoEntry.service.VLogOperateService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (VLogOperate)表控制层
 *
 * @author makejava
 * @since 2022-03-08 17:10:02
 */
@RestController
@RequestMapping("vLogOperate")
public class VLogOperateController {
    /**
     * 服务对象
     */
    @Resource
    private VLogOperateService vLogOperateService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public VLogOperate selectOne(String id) {
        return this.vLogOperateService.queryById(id);
    }

}
